package com.soft.line.service;

import com.github.pagehelper.PageInfo;
import com.soft.line.entity.RoleInfo;

import java.util.List;
import java.util.Map;

public interface RoleInfoService {
    List<RoleInfo> selectAll();

    PageInfo<List<Map<String,Object>>> selectAllRoleMenuInfo(final Map<String,Object> map);

    void delete(final Map<String,Object> map);

    void add(final Map<String,Object> map);

    void update(final Map<String,Object> map);

    int countRoleName(Integer roleId,String roleName);
}
